import request from "@/utils/request";

export const getList = (data) => {
    return request({
        url: "/mall/tenant/merchant/inventor/profit/searchDetail",
        method: "post",
        data
    })
}

/**
 * 确定
 */
export const confirm = (data) => {
    return request({
        url: "/mall/tenant/merchant/inventor/profit/verifyDeal",
        method: "post",
        data
    })
}

/**
 * 详情
 */
export const detail = (inventoryDealId) => {
    return request({
        url: "/mall/tenant/merchant/inventor/profit/getDetail",
        method: "post",
        data: { inventoryDealId }
    })
}